package Day13.Tests;

/**
 * 扑克类
 */
public class PuKe {
    /**
     * 扑克牌的点数
     */
    private String point;
    /**
     * 扑克牌的花色
     */
    private String type;
    /**
     * 扑克牌的大小
     */
    private int num;

    /**
     *扑克牌花色的值
     */
    private int typeValue;

    public PuKe(String point, String type,int num,int typeValue) {
        this.point = point;
        this.type = type;
        this.num = num;
        this.typeValue = typeValue;
    }
    public String toString(){
        return this.type + this.point;
    }
    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getTypeValue() {
        return typeValue;
    }

    public void setTypeValue(int typeValue) {
        this.typeValue = typeValue;
    }
}
